package com.packet.service;

import com.packet.pojo.Employee;

import java.util.List;

/**
 * @className:EmployeeService
 * @Author:wallet_packet Date:2023-11-14 20:35
 * @Describe:
 */

public interface EmployeeService {
    public void save(Employee employee);

    //查询全部员工
    public List<Employee> getAll();

    //通过id查员工
    public Employee getEmployeeById(Integer id);

    //删除员工通过id
    public void delete(Integer id);

    public void update(Employee employee);
}
